save/restore: Use page-aligned allocations for hypercall args that are
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 9 Apr 2008 15:31:16 +0000 (16:31 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 9 Apr 2008 15:31:16 +0000 (16:31 +0100)
commit43650c346e2a5be53e83749e0be388697cf9994e
tree75a365ba8fbb8e43b2464425eed224bc950e32ab
parent9e4828ca8b5d6e39023f8cf580b4446a19cc1dcd
save/restore: Use page-aligned allocations for hypercall args that are
mlock()ed across other hypercall invocations, to avoid aliasing with
other hypercall arguments, causing spurious unlocking.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
tools/libxc/xc_domain_restore.c
tools/libxc/xc_domain_save.c
tools/libxc/xg_private.h